<div id="form_leave">
	<div class="pc-nav form-nav">
		<button @click="back(-1)"><i class="icon iconfont">&#xe62b;</i></button>
		<span>招聘审批</span>
	</div>
	<ul class="approval-form-wrap">
		<li>
			<em class="left"><span style="color: red;">*</span>需求部门</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[0].value"  />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[0].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>需求部门不能为空</p>
			</i>
		</li>
		<li>
			<em class="left">需求店铺</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[1].value"  />
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>需求岗位</em>
			<i class="right ">
				 <input type="text" v-model="submitJson.component[2].value"  />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[2].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>需求岗位</p>
			</i>
		</li>
		<li>
			<em class="left">岗位编制</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[3].value"  />
				
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>现有人数</em>
			<i class="right ">
				 <input type="number" v-model="submitJson.component[4].value"  />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[4].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>现有人数不能为空</p>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>需求人数</em>
			<i class="right ">
				 <input type="number" v-model="submitJson.component[5].value"  />
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[5].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>需求人数</p>
			</i>
		</li>
		<li>
			<em class="left">直接上级</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[6].value"  />
			</i>
		</li>
		<li>
			<em class="left">直管下属</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[7].value"  />
				
			</i>
		</li>
		<li>
			<em class="left">希望到岗日期</em>
			<i class="right">
				<vue-datepicker-local v-model="submitJson.component[8].value" ></vue-datepicker-local>
			</i>
		</li>
		<li>
			<em class="left">多行输入框</em>
			<i class="right">
				<textarea name="" rows="" v-model="submitJson.component[9].value" cols=""></textarea>
			</i>
		</li>
		<li>
			<em class="left">建议岗位职级</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[10].value"  />
			</i>
		</li>
		<li>
			<em class="left">建议薪酬</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[11].value"  />
				
			</i>
		</li>
		<li>
			<em class="left">建议考核方式</em>
			<i class="right">
				<input type="text" v-model="submitJson.component[12].value"  />
			</i>
		</li>
		<li>
			<em class="left">招聘原因</em>
			<i class="right">
				<select v-model="submitJson.component[13].value">
					<option selected="" value="">请选择</option>
					<option value="离职增补" >离职增补</option>
					<option value="调岗增补">调岗增补</option>
					<option  value="新业务增加" >新业务增加</option>
				</select>
			</i>
		</li>
		<li>
			<em class="left"><span style="color: red;">*</span>招聘方式</em>
			<i class="right ">
				<select class="" v-model="submitJson.component[14].value">
					<option  value="" >请选择（必填）</option>
					<option value="内部招聘" >内部招聘</option>
					<option value="社会招聘" >社会招聘</option>
					<option value="校园招聘" >校园招聘</option>
				</select>
			</i>
		</li>
		<li v-if="subFlag && /^\s*$/g.test(submitJson.component[14].value)">
			<em class="left"></em>
			<i class="right">
				<p style="color: red;" data-false='true'>招聘方式不能为空</p>
			</i>
		</li>
		<li >
			<em class="left"></em>
			<i class="right">
				<p style="color:#CCCCCC;">如岗位需求有更新，请上传岗位说明</p>
			</i>
		</li>
		<li>
			<em class="left">岗位说明</em>
			<i class="right">
				<upload_tpl message="img" name="岗位说明" v-on:getfile="getFilefn"></upload_tpl>
			</i>
		</li>
		<li >
			<em class="left"></em>
			<i class="right" style="color:#CCCCCC;">
				<p >审批人顺序：</p>
				<p >1 直属主管</p>
				<p >2 部门主管</p>
				<p >3 崔佳</p>
			</i>
		</li>
		<li>
			<em class="left">审批人</em>
			<i class="right">
				<dingding_users  v-on:getdingdinguser="getApproveUsers" message="approve" :approve_list="approve_list" :cc_list="cc_list" ></dingding_users>
			</i>
		</li>
		<li>
			<em class="left">抄送人</em>
			<i class="right">
				  <dingding_users v-on:getdingdinguser="getCopyUsers" :approve_list="approve_list" :cc_list="cc_list" message="cc"></dingding_users>
			</i>
		</li>
		<li>
			<em class="left"></em>
			<i class="right">
				  <span v-if="subFlag"></span>
				 <button class="submit-foot" @click="submitFn">提交</button>
			</i>
		</li>
	</ul>
		
</div>

